setStrokeEnabled

abstract fun setStrokeEnabled(block: DesignBlock, enabled: Boolean)

Enable or disable the stroke of the given design block. Required scope: "stroke/change"

Parameters

block

the block whose stroke should be enabled or disabled.

enabled

if true, the stroke will be enabled.